[INFO] cloning repository https://github.com/claudiomattera/minesweeper
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claudiomattera/minesweeper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fminesweeper", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fminesweeper'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ecbad54a79fe30dee9549a0f6b8c45aa6210e2ab
[INFO] fixing claudiomattera/minesweeper against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiomattera%2Fminesweeper" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/claudiomattera/minesweeper
[INFO] finished tweaking git repo https://github.com/claudiomattera/minesweeper
[INFO] tweaked toml for git repo https://github.com/claudiomattera/minesweeper written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/claudiomattera/minesweeper on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/claudiomattera/minesweeper already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930
[INFO] running `Command { std: "docker" "start" "04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling syn v1.0.82
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling deflate v0.9.1
[INFO] [stderr]    Compiling bytemuck v1.7.2
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling png v0.17.2
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking buddy-alloc v0.4.1
[INFO] [stderr]     Checking core2 v0.3.2
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling png2wasm4src v0.1.0
[INFO] [stderr]    Compiling minesweeper v1.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.89s
[INFO] [stderr] crater-edition-check: minesweeper v1.2.1 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling minesweeper v1.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `set_one`, `set`, and `get` are never used
[INFO] [stdout]   --> src/graphics/drawcolors.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl DrawColorsImpl {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] 48 |     pub fn set_one(&mut self, index: usize, value: u8) -> &mut Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn set(&mut self, value: u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn get(&self) -> u16 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game/loop.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &mut STATE_MACHINE };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &raw mut STATE_MACHINE };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/statemachine.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 - pub static mut STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout] 40 + pub static STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/statemachine/pregame.rs:73:34
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &mut RNG };
[INFO] [stdout]    |                                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &raw mut RNG };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/random.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub static mut RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout] 24 + pub static RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game/loop.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &mut STATE_MACHINE };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &raw mut STATE_MACHINE };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/statemachine.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 - pub static mut STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout] 40 + pub static STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/statemachine/pregame.rs:73:34
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &mut RNG };
[INFO] [stdout]    |                                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &raw mut RNG };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/random.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub static mut RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout] 24 + pub static RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.92s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking minesweeper v1.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/game/loop.rs (2 fixes)
[INFO] [stderr]        Fixed src/debug.rs (2 fixes)
[INFO] [stderr]        Fixed src/wasm4.rs (11 fixes)
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game/loop.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &mut STATE_MACHINE };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &raw mut STATE_MACHINE };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/statemachine.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 - pub static mut STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout] 40 + pub static STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/statemachine/pregame.rs:73:34
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &mut RNG };
[INFO] [stdout]    |                                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &raw mut RNG };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/random.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub static mut RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout] 24 + pub static RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game/loop.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &mut STATE_MACHINE };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &raw mut STATE_MACHINE };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/statemachine.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 - pub static mut STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout] 40 + pub static STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/statemachine/pregame.rs:73:34
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &mut RNG };
[INFO] [stdout]    |                                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &raw mut RNG };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/random.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub static mut RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout] 24 + pub static RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.82s
[INFO] [stderr] crater-edition-check: minesweeper v1.2.1 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling minesweeper v1.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game/loop.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &mut STATE_MACHINE };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &raw mut STATE_MACHINE };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/statemachine.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 - pub static mut STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout] 40 + pub static STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/statemachine/pregame.rs:73:34
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &mut RNG };
[INFO] [stdout]    |                                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &raw mut RNG };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/random.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub static mut RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout] 24 + pub static RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minesweeper` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: methods `set_one`, `set`, and `get` are never used
[INFO] [stdout]   --> src/graphics/drawcolors.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | impl DrawColorsImpl {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] 48 |     pub fn set_one(&mut self, index: usize, value: u8) -> &mut Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn set(&mut self, value: u16) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn get(&self) -> u16 {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/game/loop.rs:19:34
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &mut STATE_MACHINE };
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let state_machine = unsafe { &raw mut STATE_MACHINE };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/statemachine.rs:40:12
[INFO] [stdout]    |
[INFO] [stdout] 40 - pub static mut STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout] 40 + pub static STATE_MACHINE: Lazy<Machine> = Lazy::new(|| Machine {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/statemachine/pregame.rs:73:34
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &mut RNG };
[INFO] [stdout]    |                                  ^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let generator = unsafe { &raw mut RNG };
[INFO] [stdout]    |                                   +++
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/random.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 - pub static mut RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout] 24 + pub static RNG: Lazy<XorShiftRng> = Lazy::new(|| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minesweeper` (lib) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930", kill_on_drop: false }`
[INFO] [stdout] 04cc0eb69de00315f4528d96fc4665565ff188cc3dc4e0afe86af1b974c6e930
